#include("header.html")

<div class="container">
    <div class="box box-primary">
        <div class="box-header">
            <div class="text-center">
                <span class="h-title">个人主页</span>
            </div>
        </div>
        <div class="box-body">
            <div class="row">
                #if(bestWy)
                <div class="col-lg-12 col-xs-12">
                    <div class="class-box">
                        <div class="class-up bg-info">
                            <p>
                                <span>${bestWy.name ?! '物业'}</span>
                                <img class="pull-right" width="20" src="/static/images/best.png">
                            </p>
                            <p>
                                <span>电话：${bestWy.tel ?! ''}</span>
                                <span>邮箱：${bestWy.email ?! ''}</span>
                            </p>
                        </div>
                        <div class="class-down clearfix">
                            <p>地址：${bestWy.address ?! ''}</p>
                            <p><span class=" badge">${bestWy.total.format('0.00') ?! '0'}</span></p>
                        </div>
                    </div>
                </div>
                #end
                #if(bestSt)
                <div class="col-lg-12 col-xs-12">
                    <div class="class-box">
                        <div class="class-up bg-warning">
                            <p>
                                <span>${bestSt.name ?! '食堂'}</span>
                                <img class="pull-right" width="20" src="/static/images/best.png">
                            </p>
                            <p>
                                <span>电话：${bestSt.tel ?! ''}</span>
                                <span>邮箱：${bestSt.email ?! ''}</span>
                            </p>
                        </div>
                        <div class="class-down clearfix">
                            <p>地址：${bestSt.address ?! ''}</p>
                            <p><span class=" badge">${bestSt.total.format('0.00') ?! '0'}</span></p>
                        </div>
                    </div>
                </div>
                #end
                <div class="col-lg-12 col-xs-12">
                    <div class="panel panel-success">
                        <div class="panel-heading">
                            <div class="panel-title">个人信息</div>
                        </div>
                        <div class="panel-body">
                            <ul class="list-unstyled">
                                <li>账号：${user.username ?! ''}</li>
                                <li>姓名：${user.realName ?! ''}</li>
                                <li>职位：<span class="post-${user.post ?! '1'}"></span></li>
                                <li>电话：${user.tel ?! ''}</li>
                                <li>邮箱：${user.email ?! ''}</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            #include("sign.html")
        </div>
    </div>
</div>
</body>
</html>